README for model component

%%%%%%
% Main files:
%%%%%%

0. master.m

auxilliary files directly called:
* transfer_stata_estimates_to_matlab
* wrapper_teacher_pref
* wrapper_princpal_pref
* bivariate_preference_relationships
* bivariate_preference_relationships_noVA
* compute_allocations
* create_allocation_table
* create_robustness_table
* create_imputation_table
* create_monthbymonth_table
* create_serialdict_table
* plot_output
* compute_bonuses
* plot_bonuses

1. transfer_stata_estimates_to_matlab

auxilliary files called:
none

2. wrapper_teacher_pref

auxilliary files directly called:
* wrapper_mixed_logit_rc6_totVA_Ndis
* wrapper_mixed_logit_rc6_totVA_ach
* wrapper_mixed_logit_rc6_totVA_buff7
* wrapper_mixed_logit_rc6_totVA_Calt
* wrapper_mixed_logit_rc6_totVA_cfrCalt
* wrapper_mixed_logit_rc6_totVA_convert
* wrapper_mixed_logit_rc6_totVA_corrRC
* wrapper_mixed_logit_rc6_totVA_day1
* wrapper_mixed_logit_rc6_totVA_impute
* wrapper_mixed_logit_rc6_totVA_multiapp
* wrapper_mixed_logit_rc6_totVA_Ndis_noVA
* wrapper_mixed_logit_rc6_totVA_Ndis_wkdonut
* wrapper_mixed_logit_rc6_totVA_homog
* wrapper_mixed_logit_rc6_totVA_race
* wrapper_mixed_logit_rc6_totVA_sM

all auxilliary files subsequently call:
* func_mixed_logit_current

3. wrapper_principal_pref

auxilliary files directly called:
* wrapper_mixed_logit_principal_totVA_extraX
* wrapper_mixed_logit_principal_totVA_ach
* wrapper_mixed_logit_principal_totVA_buff7
* wrapper_mixed_logit_principal_totVA_C
* wrapper_mixed_logit_principal_totVA_cfr
* wrapper_mixed_logit_principal_totVA_cfrC
* wrapper_mixed_logit_principal_totVA_day1
* wrapper_mixed_logit_principal_totVA_first
* wrapper_mixed_logit_principal_totVA_imputed
* wrapper_mixed_logit_principal_totVA_hired
* wrapper_mixed_logit_principal_totVA_homog
* wrapper_mixed_logit_principal_totVA_mutiapp
* wrapper_mixed_logit_principal_totVA_race
* wrapper_mixed_logit_principal_totVA_second
* wrapper_mixed_logit_principal_totVA_sM
* wrapper_mixed_logit_principal_totVA_wi14
* wrapper_mixed_logit_principal_totVA_wkdonut
* multiply_princVA_by_10

all auxilliary files subsequently call:
* func_mixed_logit

4. bivariate_preference_relationships

* constructs Figure 2

auxilliary files called:
none

5. bivariate_preference_relationships_noVA

* constructs Appendix Figure 6

auxilliary files called:
none

6.  compute_allocations

auxilliary files directly called:
* func_wrapper_main
* func_wrapper_efficiency
* func_wrapper_monthbymonth
* func_wrapper_imputed
* func_wrapper_serialdict


auxilliary files called by func_wrapper_main:
* func_likely_draws_current
* func_allocations

auxilliary files called by func_wrapper_efficiency:
* func_like_draws_current
* func_allocations

auxilliary files called by func_wrapper_monthbymonth:
* func_likely_draws_current
* func_allocations_monthbymonth

auxilliary files called by func_wrapper_imputed:
* func_likely_draws_current
* func_allocations_imputed

auxilliary files called by func_wrapper_serial_dict:
* func_likely_draws_current
* func_allocations_serialdict

auxilliary files called by func_likely_draws_current:
* none

auxilliary files called by func_allocations:
* galeshapley_gender_unbalanced
* linear_sum_assignment

auxilliary files called by func_allocations_monthbymonth:
* galeshapley_gender_unbalanced
* func_output
* func_rank
* linear_sum_assignment

* auxilliary files called by func_allocations_imputed:
* galeshapley_gender_unbalanced
* linear_sum_assignment

auxilliary files called by func_allocation_serialdict:
* func_output

auxilliary files called by galeshapley_gender_unbalanced:
* none

auxilliary files called by linear_sum_assignment:
* none

auxilliary files called by func_output:
* none

auxilliary files called by func_rank
* none

summary of programs:  

* func_allocations
* func_allocations_imputed
* func_allocations_monthbymonth
* func_allocations_serialdict
* func_likely_draws_current
* func_output
* func_rank
* func_wrapper_efficiency
* func_wrapper_imputed
* func_wrapper_main
* func_wrapper_monthbymonth
* func_wrapper_serialdict
* galeshapley_gender_unbalanced
* linear_sum_assignment


7. create_allocation_table

* relies on output produced in compute_allocations

* constructs Table 4 

* auxilliary files called:
* none

8. create_robustness_table

* relies on output produced in compute_allocations

* constructs Table 5

* auxilliary files called:
* robustness_cf_dist 
* robustness_cf_efficiency
* robustness_imputation 
* robustness_timing

* none of these files call additional files

9. create_imputation_table

* relies on output produced in compute_allocations

* constructs Table A25

* auxilliary files called:
* none

10. create_monthbymonth_table

* relies on output produced in compute_allocations
* constructs Table A26
* constructs Table A27

* auxilliary files called:
* none

11. create_serialdict_table

* relies on output produced in compute_allocations
* constructs Table A23

*auxilliary files called:
* none

12.  plot_output

* relies on output produced in compute_allocations

* constructs: 
** Figure 3 
** Figure 4


auxilliary files called:
* bin_data

13. compute_bonuses

auxilliary files directly called:
* func_likely_draws_current
* func_CF_pareto_princ
* func_CF_pareto_va

auxilliary files called by func_CF_pareto_princ
* galeshapley_gender_unbalanced
* func_CF_stable

auxilliary files called by func_CF_pareto_va
* galeshapley_gender_unbalanced
* func_CF_stable

auxiliary files called by func_CF_stable:
* galeshapley_gender_unbalanced

* summary of programs (not listed elsewhere):
* func_CF_pareto_princ
* func_CF_pareto_va
* func_CF_stable

14. plot_bonuses

* relies on output created in compute_bonuses

* constructs Figure 5

* auxilliary files called:
* none

15. potential_gains

* auxilliary files called:
* linear_sum_assignment

****************************
* summary of files used:
*****************************





* bin_data
* bivariate_preference_relationshfips
* bivariate_preference_relationships_noVA
* compute_allocations
* compute_bonuses
* create_allocation_table
* create_imputation_table
* create_monthbymonth_table
* create_robustness_table
* create_serialdict_table
* func_allocations
* func_allocations_imputed
* func_allocations_monthbymonth
* func_allocations_serialdict
* func_CF_pareto_princ
* func_CF_pareto_va
* func_CF_stable
* func_likely_draws_current
* func_mixed_logit
* func_mixed_logit_current
* func_output
* func_rank
* func_wrapper_efficiency
* func_wrapper_imputed
* func_wrapper_main
* func_wrapper_monthbymonth
* func_wrapper_serialdict
* galeshapley_gender_unbalanced
* linear_sum_assignment
* master.m
* multiply_princVA_by_10
* plot_bonuses
* plot_output
* potential_gains
* robustness_cf_dist 
* robustness_cf_efficiency
* robustness_imputation 
* robustness_timing
* transfer_stata_estimates_to_matlab
* wrapper_mixed_logit_principal_totVA_ach
* wrapper_mixed_logit_principal_totVA_buff7
* wrapper_mixed_logit_principal_totVA_C
* wrapper_mixed_logit_principal_totVA_cfr
* wrapper_mixed_logit_principal_totVA_cfrC
* wrapper_mixed_logit_principal_totVA_day1
* wrapper_mixed_logit_principal_totVA_extraX
* wrapper_mixed_logit_principal_totVA_first
* wrapper_mixed_logit_principal_totVA_imputed
* wrapper_mixed_logit_principal_totVA_hired
* wrapper_mixed_logit_principal_totVA_homog
* wrapper_mixed_logit_principal_totVA_mutiapp
* wrapper_mixed_logit_principal_totVA_race
* wrapper_mixed_logit_principal_totVA_second
* wrapper_mixed_logit_principal_totVA_sM
* wrapper_mixed_logit_principal_totVA_wi14
* wrapper_mixed_logit_principal_totVA_wkdonut
* wrapper_mixed_logit_rc6_totVA_ach
* wrapper_mixed_logit_rc6_totVA_buff7
* wrapper_mixed_logit_rc6_totVA_Calt
* wrapper_mixed_logit_rc6_totVA_cfrCalt
* wrapper_mixed_logit_rc6_totVA_convert
* wrapper_mixed_logit_rc6_totVA_corrRC
* wrapper_mixed_logit_rc6_totVA_day1
* wrapper_mixed_logit_rc6_totVA_impute
* wrapper_mixed_logit_rc6_totVA_multiapp
* wrapper_mixed_logit_rc6_totVA_Ndis
* wrapper_mixed_logit_rc6_totVA_Ndis_noVA
* wrapper_mixed_logit_rc6_totVA_Ndis_wkdonut
* wrapper_mixed_logit_rc6_totVA_homog
* wrapper_mixed_logit_rc6_totVA_race
* wrapper_mixed_logit_rc6_totVA_sM
* wrapper_principal_pref
* wrapper_teacher_pref




